Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/v2/telegram #56

Open
wants to merge 79 commits into
base: feature/v2/groq
Choose a base branch
from
Open

Conversation

jmikedupont2
Copy link
Member

Relates to

Risks

Background

What does this PR do?

What kind of change is this?

Documentation changes needed?

Testing

Where should a reviewer start?

Detailed testing steps

@jmikedupont2 jmikedupont2 changed the base branch from main to v2-develop March 22, 2025 18:06
@jmikedupont2 jmikedupont2 changed the base branch from v2-develop to feature/v2/groq March 22, 2025 18:06
tcm390 and others added 3 commits March 26, 2025 11:03
remove onclick

improve gh access token instructions, include link

improve plugin name handling

provide clear instruction to install plugin with bun

fix remove-plugin

little spelling fixes

fix remove-plugin so it runs rm -rf

fix post create plugin instructions

Add shouldRespondOnlyToMentions option for discord

add missing dep

Fix Tailwind typos "flex-column" -> "flex-col"; fix excessive gap on msg list.

prevent message overlap

clean code

env api

env ui

add envs

use active tab state

update local/global env works

disable button when updating

force PUT always

fixed jsdoc-automation.yml and removed environment.test.ts

Refactored SOL address handling in plugin-solana actions to use environment variables since no settings exported, and Solve the problem of the isTransferContent judgment logic.

enable settings nav button

null check

allow character(s) loading
import * as Groq from '@elizaos/plugin-groq';
import * as Discord from '@elizaos/plugin-discord';
import * as Twitter from '@elizaos/plugin-twitter';
import * as Telgram from '@elizaos/plugin-telegram';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo in the import statement for the Telegram plugin. It should be 'Telegram' instead of 'Telgram', which could lead to runtime errors when trying to use this plugin.

Copy link

trag-bot bot commented Mar 26, 2025

Pull request summary

  • Updated .dockerignore to include .env file to prevent it from being included in Docker builds.
  • Added new environment variables in .env.example for additional API keys related to GROQ models.
  • Modified the GitHub Actions workflow for generating README translations to use a different model version.
  • Enhanced the Docker image build workflow to support multiple branches and improved the setup for Docker Buildx.
  • Created a new workflow for generating documentation using Repomix, allowing for flexible branch targeting and PR creation.
  • Updated the PR title check workflow to trigger on manual dispatch instead of pull request events.
  • Refactored the Tauri CI workflow to also trigger on manual dispatch.
  • Introduced a new workflow for testing Docker images with specific permissions and steps.
  • Added submodule configurations in .gitmodules for various ElizaOS plugins.
  • Updated the README with new environment settings and instructions for using the application.

@jmikedupont2
Copy link
Member Author

Version: 1.0.0-beta.7
[2025-03-26 17:33:31] INFO: First time setup. Let's configure your Eliza agent.
[2025-03-26 17:33:31] INFO: Configuration saved to /home/agent/.eliza/config.json

[2025-03-26 17:33:32] INFO: Using default Eliza character with all plugins
Checking if plugin is installed:  @elizaos/plugin-sql
Checking if plugin is installed:  @elizaos/plugin-groq
Checking if plugin is installed:  @elizaos/plugin-discord
Checking if plugin is installed:  @elizaos/plugin-twitter
Checking if plugin is installed:  @elizaos/plugin-telegram
Startup successful!
Go to the dashboard at http://localhost:3000
[2025-03-26 17:33:34] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:34] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:34] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:34] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:35] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:35] INFO: Creating default Twitter client from character settings
[2025-03-26 17:33:35] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:35] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:35] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:35] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:35] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
[2025-03-26 17:33:35] INFO: Using cached cookies
[2025-03-26 17:33:35] INFO: Successfully logged in.
[2025-03-26 17:33:36] WARN: Invalid encrypted value format - expected 'iv:encrypted', returning original value
Error fetching Twitter profile: _ApiError: Response status: 524
    at _ApiError.fromResponse (file:///app/packages/plugin-twitter/dist/index.js:58:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async requestApi (file:///app/packages/plugin-twitter/dist/index.js:154:12)
    at async getProfile (file:///app/packages/plugin-twitter/dist/index.js:476:15)
    at async Client.getProfile (file:///app/packages/plugin-twitter/dist/index.js:3535:17)
    at async file:///app/packages/plugin-twitter/dist/index.js:7805:26
    at async file:///app/packages/plugin-twitter/dist/index.js:7282:26
    at async RequestQueue.processQueue (file:///app/packages/plugin-twitter/dist/index.js:7304:9) {
  response: Response {
    status: 524,
    statusText: '',
    headers: Headers {
      date: 'Wed, 26 Mar 2025 17:35:15 GMT',
      'content-type': 'text/html; charset=UTF-8',
      'content-length': '7064',
      connection: 'keep-alive',
      'x-frame-options': 'SAMEORIGIN',
      'referrer-policy': 'same-origin',
      'cache-control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0',
      expires: 'Thu, 01 Jan 1970 00:00:01 GMT',
      server: 'cloudflare',
      'cf-ray': '926864dada5ccf74-CMH'
    },
    body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
    bodyUsed: true,
    ok: false,
    redirected: false,
    type: 'basic',
    url: 'https://twitter.com/i/api/graphql/G3KGOASz96M-Qu0nwmGXNg/UserByScreenName?variables=%7B%22screen_name%22%3A%22TineIsNotElizw_api_enabled%22%3Atrue%2C%22hidden_profile_likes_enabled%22%3Afalse%2C%22hidden_profile_subscriptions_enabled%22%3Afalse%2C%22highlirue%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22responsive_web_graphql_timeline_navigationC%22subscriptions_verification_info_verified_since_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%7D&fieldToggles=%7B
  },
  data: undefined
}
[2025-03-26 17:35:15] ERROR: Failed to create Twitter client for 95be4ecd-52c5-0601-a566-76060dfae7db:
    message: "(Error) Response status: 524"
    stack: [
      "Error: Response status: 524",
      "at _ApiError.fromResponse (file:///app/packages/plugin-twitter/dist/index.js:58:12)",
      "at process.processTicksAndRejections (node:internal/process/task_queues:105:5)",
      "at async requestApi (file:///app/packages/plugin-twitter/dist/index.js:154:12)",
      "at async getProfile (file:///app/packages/plugin-twitter/dist/index.js:476:15)",
      "at async Client.getProfile (file:///app/packages/plugin-twitter/dist/index.js:3535:17)",
      "at async file:///app/packages/plugin-twitter/dist/index.js:7805:26",
      "at async file:///app/packages/plugin-twitter/dist/index.js:7282:26",
      "at async RequestQueue.processQueue (file:///app/packages/plugin-twitter/dist/index.js:7304:9)"
    ]
[2025-03-26 17:35:15] WARN: Invalid IV length (5) - expected 16 bytes
[2025-03-26 17:35:15] ERROR: Failed to create default Twitter client:
    message: "(Error) Response status: 524"
    stack: [
      "Error: Response status: 524",
      "at _ApiError.fromResponse (file:///app/packages/plugin-twitter/dist/index.js:58:12)",
      "at process.processTicksAndRejections (node:internal/process/task_queues:105:5)",
      "at async requestApi (file:///app/packages/plugin-twitter/dist/index.js:154:12)",
      "at async getProfile (file:///app/packages/plugin-twitter/dist/index.js:476:15)",
      "at async Client.getProfile (file:///app/packages/plugin-twitter/dist/index.js:3535:17)",
      "at async file:///app/packages/plugin-twitter/dist/index.js:7805:26",
      "at async file:///app/packages/plugin-twitter/dist/index.js:7282:26",
      "at async RequestQueue.processQueue (file:///app/packages/plugin-twitter/dist/index.js:7304:9)"
    ]
[2025-03-26 17:35:15] WARN: Invalid IV length (5) - expected 16 bytes
[2025-03-26 17:52:44] ERROR: Error in reaction handler:
    message: "(error) insert or update on table \"memories\" violates foreign key constraint \"memories_entityId_entities_id_fk\""
    stack: [
      "error: insert or update on table \"memories\" violates foreign key constraint \"memories_entityId_entities_id_fk\"",
      "at ye.Ve (file:///app/node_modules/@electric-sql/pglite/dist/chunk-EADU5A67.js:1:17602)",
      "at ye.nt (file:///app/node_modules/@electric-sql/pglite/dist/chunk-EADU5A67.js:1:14988)",
      "at ye.parse (file:///app/node_modules/@electric-sql/pglite/dist/chunk-EADU5A67.js:1:13740)",
      "at pe.execProtocol (file:///app/node_modules/@electric-sql/pglite/dist/index.js:3:239489)",
      "at process.processTicksAndRejections (node:internal/process/task_queues:105:5)",
      "at async pe.l (file:///app/node_modules/@electric-sql/pglite/dist/chunk-A7RFOIQ7.js:8:1911)",
      "at async file:///app/node_modules/@electric-sql/pglite/dist/chunk-A7RFOIQ7.js:8:2539"
    ]
[2025-03-26 18:06:45] INFO: Telegram Message: [object Object]
[2025-03-26 18:07:15] INFO: Telegram Message: [object Object]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants